/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package JFreeChartExtensions.ChartPanelDialogs;

import JFreeChartExtensions.ExtendableChartPanel;
import javax.swing.JDialog;

/**
 *
 * @author Nobody
 */
public abstract class ChartPanelDialog extends JDialog {

    protected ExtendableChartPanel parentPanel;

    public ChartPanelDialog(ExtendableChartPanel parentPanel) {
        super(parentPanel.getParentContainer().getParentFrame());
        setLocationRelativeTo(parentPanel.getParentContainer().getParentFrame());
        this.parentPanel = parentPanel;
    }

}
